//
//  XMtoolView.m
//  BigJoy
//
//  Created by Rowling on 2017/6/23.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import "XMtoolView.h"
#import "upDownButton.h"

@interface XMtoolView()
@property (weak, nonatomic) IBOutlet upDownButton *bt1;
@property (weak, nonatomic) IBOutlet upDownButton *bt2;
@property (weak, nonatomic) IBOutlet upDownButton *bt3;
@property (weak, nonatomic) IBOutlet upDownButton *bt4;

@end

@implementation XMtoolView

+(instancetype)fastLogin {
    return FastLogin;
}

-(void)awakeFromNib {
    [super awakeFromNib];
    self.bt1.unReadCount = 0;
    self.bt2.unReadCount = 0;
    self.bt3.unReadCount = 0;
    self.bt4.unReadCount = 0;

}

- (IBAction)buttonClick:(UIButton *)sender {
    NSInteger  tag = sender.tag - 100;
    [self.subject sendNext:@(tag)];
}

-(void)dealloc {
    NSLog(@"toolViewDealloc");
}

@end
